<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix = "c"  uri = "http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" type="text/css"  href="css/bootstrap.min.css"/>
	<title>凯胜项目管理系统</title>
	<style type="text/css">
		body{
			background-image:url(img/rebel.png);
		}
	</style>
</head>
<body>
		  <%String code=request.getParameter("code");%>
			<div class="container" style="margin-top:100px">
			<form action="login.jspx" method="post" class="well" style="width:220px;margin:0px auto;">
					  <legend>Kaishengit-PMS</legend>
					  <% if(code!=null&&"1001".equals(code)){ %>
					  	<div style="color:red">用户名或密码错误！</div>
					   <%}else if(code!=null&&"1002".equals(code)){ %>
					   <div style="color:red">请输入用户名或密码</div>
					   <%}%>
					<label >账号</label>
					<input type="text" name="name" class="span3"  />
					<label >密码</label>
					<input type="password" name="password" class="span3"/>
					 <br/>
					 <span style="margin-right:30px"><input type="checkbox" />记住密码</span>
					<button type="submit" class="btn btn-primary">进入系统</button>
				</form>
		</div>
</body>
</html>